#ifndef __ICRYPT_H__
#define __ICRYPT_H__

#include <QByteArray>

class ICrypt
{
protected:
	QByteArray _pass;
	int _passLength;


public:
	ICrypt(){}

	void setPass(QByteArray pass, int len){_pass = pass;_passLength = len;}
	virtual QByteArray encrypt(QByteArray, bool encrypt) = 0;
};

#endif
